<?php include_once 'header.php'; ?>
<style>
	.wxListDiv {
		width: 100%;
		height: 100%;
		position: fixed;
		z-index: 2;
		background: rgba(0, 0, 0, 0.6);
		top: 0;
		left: 0;
	}

	.wxListDiv .ul {
		width: 268px;

		overflow-x: hidden;
		overflow-y: auto;
		border-radius: 10px;
		background: #fff;
		position: absolute;
		left: 50%;
		top: 50%;
		margin-left: -134px;
		margin-top: -75px;
	}

	.wxListDiv .ul:before,
	.wxListDiv .ul:after {
		display: none !important;
	}

	.closeBtn {
		color: #fff;
		font-size: 30px;
		position: absolute;
		right: 30px;
		top: 15px;
	}

	.noticeCon {
		display: none;
		padding: 10px 20px;
		color: #666;
		height: 208px;
		overflow: auto;
	}

	.arr-d:after {
		transform: rotate(135deg) !important;
		-webkit-transform: rotate(135deg) !important;
	}
</style>

<body>
	<div class="navBar">
		<a href="/objects" class="nav-left backBtn"><i class="fa fa-angle-left"></i></a>
		<div class="nav-center">会员中心</div>
		<a href class="nav-left rightBtn">&nbsp;</a>
	</div>
	<div class="weui_cells weui_cells_access" style="margin-top:0;">
		<div class="weui_cell">
			<div class="weui_cell_bd weui_cell_primary">
				<p>当前结余</p>
			</div>
			<div class="weui_cell_ft"><?php echo $user->body_balance; ?> USD</div>
		</div>
	</div>
	<div class="weui_cells weui_cells_access" style="margin-top:0;">
		<a class="weui_cell">
			<div class="weui_cell_bd weui_cell_primary">
				<p>我的等级</p>
			</div>
			<div class="weui_cell_ft"><?php echo $user->level; ?></div>
		</a>
	</div>
	<div class="weui_cells weui_cells_access" style="margin-top:0;">
		<div class="weui_cell">
			<div class="weui_cell_bd weui_cell_primary">
				<p>本金锁仓（7天释放50%）</p>
			</div>
			<div class="weui_cell_ft"><?php echo $user->money; ?> USD</div>
		</div>
	</div>


	<div class="weui_cells weui_cells_access">
		<a class="weui_cell" href="/account/pay">
			<div class="weui_cell_bd weui_cell_primary">
				<p>我要充值</p>
			</div>
			<div class="weui_cell_ft">
			</div>
		</a>
		<a class="weui_cell" id="recharge">
			<div class="weui_cell_bd weui_cell_primary">
				<p>本金锁仓充值</p>
			</div>
			<div class="weui_cell_ft">
			</div>
		</a>
		<a class="weui_cell" href="/account/withdraw">
			<div class="weui_cell_bd weui_cell_primary">
				<p>我要提现</p>
			</div>
			<div class="weui_cell_ft">
			</div>
		</a>
		<a class="weui_cell" href="/account/alipayWithdraw">
			<div class="weui_cell_bd weui_cell_primary">
				<p>支付宝提现</p>
			</div>
			<div class="weui_cell_ft">
			</div>
		</a>
		<a class="weui_cell" href="/account/records">
			<div class="weui_cell_bd weui_cell_primary">
				<p>资金记录</p>
			</div>
			<div class="weui_cell_ft">
			</div>
		</a>
		<a class="weui_cell" href="/account/orders">
			<div class="weui_cell_bd weui_cell_primary">
				<p>交易记录</p>
			</div>
			<div class="weui_cell_ft">
			</div>
		</a>
	</div>

	<div class="weui_cells weui_cells_access">
		<a class="weui_cell" href="/account/team">
			<div class="weui_cell_bd weui_cell_primary">
				<p>我的团队</p>
			</div>
			<div class="weui_cell_ft">
			</div>
		</a>
		<a class="weui_cell" href="/account/level">
			<div class="weui_cell_bd weui_cell_primary">
				<p>等级说明</p>
			</div>
			<div class="weui_cell_ft">
			</div>
		</a>
		<a class="weui_cell" href="/account/agentsj">
			<div class="weui_cell_bd weui_cell_primary">
				<p>代理申请</p>
			</div>
			<div class="weui_cell_ft">
			</div>
		</a>
		<a class="weui_cell" href="/account/ring">
			<div class="weui_cell_bd weui_cell_primary">
				<p>发圈奖励</p>
			</div>
			<div class="weui_cell_ft"></div>
		</a>
		<a class="weui_cell" href="/account/expand/<?php echo $user->id; ?>">
			<div class="weui_cell_bd weui_cell_primary">
				<p>我的推广链接</p>
			</div>
			<div class="weui_cell_ft"></div>
		</a>
		<a class="weui_cell" href="http://wpa.qq.com/msgrd?v=3&uin=2040892420&site=qq&menu=yes">
			<div class="weui_cell_bd weui_cell_primary">
				<p>QQ客服</p>
			</div>
			<div class="weui_cell_ft"></div>
		</a>
		<a class="weui_cell" id="getWxList">
			<div class="weui_cell_bd weui_cell_primary">
				<input type="text" style="position: absolute;opacity: 0;" readonly id="wechat-input">
				<p>微信客服</p>
			</div>
			<div class="weui_cell_ft"></div>
		</a>
		<a class="weui_cell" href="/onlineChat/">
			<div class="weui_cell_bd weui_cell_primary">
				<input type="text" style="position: absolute;opacity: 0;" readonly>
				<p>在线客服</p>
			</div>
			<div class="weui_cell_ft"></div>
		</a>
	</div>


	<div class="weui_cells weui_cells_access">
		<a class="weui_cell" href="/account/updatePassword/<?php echo $user->id; ?>">
			<div class="weui_cell_bd weui_cell_primary">
				<p>密码修改</p>
			</div>
			<div class="weui_cell_ft"></div>
		</a>
		<a class="weui_cell" href="/account/loginOut">
			<div class="weui_cell_bd weui_cell_primary">
				<p>退出登录</p>
			</div>
			<div class="weui_cell_ft"></div>
		</a>
	</div>

	<!--微信弹出层-->
	<div class="wxListDiv" id="wxListDiv" style="display: none;">
		<a class="closeBtn" onclick="$('#wxListDiv').hide();"><i class="fa fa-times"></i></a>
		<div class="weui_cells weui_cells_access ul">
			<a class="weui_cell wxkfItem" data-id="kefu1555888" data-clipboard-action="copy" data-clipboard-target="#wechat-input" id="kefu1555888">
				<div class="weui_cell_bd weui_cell_primary">
					<p><i class="fa fa-wechat" style="color:#62b900;font-size:14px;margin-right:10px;"></i>1号客服</p>
				</div>
				<div class="weui_cell_ft">
				</div>
			</a>
			<!-- <a class="weui_cell wxkfItem" data-id="ii12378901" data-clipboard-action="copy" data-clipboard-target="#wechat-input" id="ii12378901">
				<div class="weui_cell_bd weui_cell_primary">
					<p><i class="fa fa-wechat" style="color:#62b900;font-size:14px;margin-right:10px;"></i>2号客服</p>
				</div>
				<div class="weui_cell_ft">
				</div>
			</a> -->
		</div>
	</div>
	<script type="text/javascript">
		//显示微信客服列表
		$("#getWxList").unbind().bind("click", function() {
			$("#wxListDiv").show();
		})

		//复制微信客服
		$(".wxkfItem").unbind().bind("click", function() {
			var $this = $(this);
			var id = $this.attr("data-id");
			var tar = $this.attr("id");
			$("#wxListDiv").hide();
			$("#wechat-input").val(id);
			var clipboard = new ClipboardJS('#' + tar);
			alert("微信号复制成功,请到微信中添加好友");
		})

		$('#recharge').click(function() {
			alert('请联系在线客服充值或联系微信QQ客服,本金锁仓充值，7天后释放50%');
		})
	</script>

	<?php include_once 'footer.php'; ?>